table.inline {
  //width: 27em;
  max-width: 27em;
  width: 100%;
  display: inline-block;
  background-color: rgba(0,0,0, 0.1);
  border-radius: 0.5em;
  border: solid 1px rgba(0,0,0, 0.1);

  margin: 0.8em;
  vertical-align: top;

  caption {
    @include user-select(none);

    font-size: 110%;
    background-color: rgba(0,0,0, 0.1);
    border-bottom: solid 1px rgba(0,0,0, 0.1);

    padding: 0.1em 0 0.1em 0;
  }

  th {
    text-align: left;
    width: 14em;

    &::after {
      content: ':';
    }
  }

  td {
    width: 13em;

    .load {
      display: inline-block;
      width: 2em;
      text-align: right;
    }
    .high {
      color: #f00;
    }
  }
}

div.table-holder {
  max-width: 100%;
  overflow: auto;
}
table.process_table {
  border-collapse: collapse;
  white-space: nowrap;

  border: solid 1px rgba(0,0,0, 0.2);

  td, th{
    vertical-align: bottom;
    border-bottom: 1px solid rgba($table-header-background-color, 0.1);
  }

  thead {
    color: #fff;
    background-color: $table-header-background-color;
    //background-color: rgba(0,0,0, 0.1);
    font-size: 105%;
    cursor: pointer;

    th {
      padding: 0.5em;
    }
  }
  td {
    padding: 0.3em;
    @if (lightness($content-background-color) > 50) {
      background-color: rgba(255,255,255, 0.8);
    } @else {
      background-color: rgba(0,0,0, 0.5);
    }
  }

  tr:nth-child(even) {
    @if (lightness($content-background-color) > 50) {
      background-color: rgba($table-header-background-color, 0.1);
    } @else {
      background-color: #181818;
    }
  }
}

table.generic_array_table {
  border-collapse: collapse;
  white-space: nowrap;

  border: solid 1px rgba(0,0,0, 0.2);

  td, th{
    vertical-align: bottom;
    border-bottom: 1px solid rgba($table-header-background-color, 0.1);
  }

  caption {
    font-size: 1.7em;
    font-weight: bold;

    color: $primary-color;
    text-transform: capitalize;
  }
  thead {
    color: #fff;
    background-color: $table-header-background-color;
    //background-color: rgba(0,0,0, 0.1);
    font-size: 105%;
    cursor: pointer;

    th {
      padding: 0.5em;
    }
  }
  td {
    padding: 0.3em;
    @if (lightness($content-background-color) > 50) {
      background-color: rgba(255,255,255, 0.8);
    } @else {
      background-color: rgba(0,0,0, 0.5);
    }
  }

  tr:nth-child(even) {
    @if (lightness($content-background-color) > 50) {
      background-color: rgba($table-header-background-color, 0.1);
    } @else {
      background-color: #181818;
    }
  }
}
